package com.cskaoyan.bean;

import com.cskaoyan.dao.UserDao;

/**
 * 有参构造方法完成实例化
 * @author stone
 * @date 2022/09/29 15:20
 */
public class HasParamConstructorBean {
    String username;

    UserDao userDao;

    public HasParamConstructorBean(String username, UserDao userDao) {
        System.out.println("HasParamConstructorBean有参构造方法");
        this.username = username;
        this.userDao = userDao;
    }
}
